Remove unused smpboot.h header file.
authorKeir Fraser <keir.fraser@citrix.com>
Wed, 21 Nov 2007 09:45:22 +0000 (09:45 +0000)
committerKeir Fraser <keir.fraser@citrix.com>
Wed, 21 Nov 2007 09:45:22 +0000 (09:45 +0000)
Signed-off-by: Keir Fraser <keir.fraser@eu.citrix.com>
xen/arch/x86/irq.c
xen/arch/x86/physdev.c
xen/arch/x86/smp.c
xen/include/asm-powerpc/smpboot.h [deleted file]
xen/include/asm-x86/smpboot.h [deleted file]

index b7136157d0f7edde02975800f6301602a8c74642..77983a6f0a5ef423c6a1099bd6a920ca43008041 100644 (file)
@@ -15,7 +15,6 @@
 #include <xen/keyhandler.h>
 #include <xen/compat.h>
 #include <asm/current.h>
-#include <asm/smpboot.h>
 #include <asm/iommu.h>
 
 /* opt_noirqbalance: If true, software IRQ balancing/affinity is disabled. */
index 78ff6b0ca860517de7e57d303761fac7ff48f732..e42379d4acad8af251f3dafbaf8f2e8a1c189ff8 100644 (file)
@@ -8,7 +8,6 @@
 #include <xen/event.h>
 #include <xen/guest_access.h>
 #include <asm/current.h>
-#include <asm/smpboot.h>
 #include <asm/hypercall.h>
 #include <public/xen.h>
 #include <public/physdev.h>
index c8886e947abc758061edb8e396035ac5d8b35f58..11e150e75a724576742718c85bc0e1144421e867 100644 (file)
@@ -18,7 +18,6 @@
 #include <asm/smp.h>
 #include <asm/mc146818rtc.h>
 #include <asm/flushtlb.h>
-#include <asm/smpboot.h>
 #include <asm/hardirq.h>
 #include <asm/ipi.h>
 #include <asm/hvm/support.h>
diff --git a/xen/include/asm-powerpc/smpboot.h b/xen/include/asm-powerpc/smpboot.h
deleted file mode 100644 (file)
index b158d5b..0000000
+++ /dev/null
@@ -1,21 +0,0 @@
-/*
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
- *
- * Copyright (C) IBM Corp. 2005
- *
- * Authors: Jimi Xenidis <jimix@watson.ibm.com>
- */
-
-#include "../asm-x86/smpboot.h"
diff --git a/xen/include/asm-x86/smpboot.h b/xen/include/asm-x86/smpboot.h
deleted file mode 100644 (file)
index 6def599..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
-#ifndef __ASM_SMPBOOT_H
-#define __ASM_SMPBOOT_H
-
-static inline unsigned long apicid_to_phys_cpu_present(int apicid)
-{
-       return 1UL << apicid;
-}
-
-extern volatile int logical_apicid_2_cpu[];
-extern volatile int cpu_2_logical_apicid[];
-extern volatile int physical_apicid_2_cpu[];
-extern volatile int cpu_2_physical_apicid[];
-
-#define boot_apicid_to_cpu(apicid) physical_apicid_2_cpu[apicid]
-
-#endif